package common.db.repository;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Paskal
 * Date: Apr 26, 2009
 * Time: 4:17:12 PM
 * To change this template use File | Settings | File Templates.
 */
public class SqlQueryParam
{
	private String sql;
	private Object[] params;
	private List<String> forReturn;

	public SqlQueryParam(String sql, Object[] params, List<String> forReturn)
	{
		this.sql = sql;
		this.params = params;
		this.forReturn = forReturn;
	}

//	public SqlQueryParam(String sql, Object[] params)
//	{
//		this.sql = sql;
//		this.params = params;

	//	}
	public List<String> getForReturn()
	{
		return forReturn;
	}

	public SqlQueryParam()
	{
	}

	public String getSql()
	{
		return sql;
	}

	public void setSql(String sql)
	{
		this.sql = sql;
	}

	public Object[] getParams()
	{
		return params;
	}

	public void setParams(Object[] params)
	{
		this.params = params;
	}

	public void setForReturn(List<String> forReturn)
	{
		this.forReturn = forReturn;
	}
}
